use strict;
use warnings;

package OCF::Membership;

use base qw(My::DB::Object);

__PACKAGE__->meta->setup(
    table   => 'ocf_membership',
    columns => [
        'id'              => { 'type' => 'serial',  'primary_key' => 1,   'not_null'   => 1 },
        'name'            => { 'type' => 'varchar', 'length'      => 255, 'not_null'   => 1 },
        'state'           => { 'type' => 'varchar', 'length'      => 255, 'not_null'   => 1 },
        'university'      => { 'type' => 'varchar', 'length'      => 255, 'not_null'   => 1 },
        'year_affiliated' => { 'type' => 'int',     'not_null'    => 1 },
    ],
);

1;
